﻿@{
    Layout = null;
}

<div style="clear:both" id="container">
<!--Operation-->
<div class="heading-buttons">


    <div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
        <h1 class="page-title txt-color-blueDark"><i class="fa  fa-gear "></i>
            页面管理
			
        </h1>
    </div>
    <div class="buttons pull-right">

        <button type="button" class="btn btn-success btn-labeled " id="btnSysPagePowerAdd"
            data-bind="click: $root.AddNewNode">
            <span class="btn-label"><i class="glyphicon glyphicon-plus"></i>
            </span>添加结点</button>

        <button type="button" class="btn btn-primary btn-labeled " id="btnSysPagePowerDel"
            data-bind="click: $root.DelNode">
            <span class="btn-label"><i class="glyphicon glyphicon-remove"></i>
            </span>删除结点</button>


    </div>
    <div style="clear: both;">
    </div>
</div>
<!--/Operation-->


<hr class="separator" />
<!-- Bread crumb is created dynamically -->



<div class="row">

    <div class="col-sm-4" style="margin-bottom: 5px; margin-top: 5px;">
        <div class="well well-light well-sm no-margin no-padding treeContent"style="height:500px">
            <!--SysPages tree-->
            <ul id="SysPagesTree" class="ztree">
            </ul>


        </div>

    </div>
    <!-- end col-sm-61 -->
    <!--/SysPagePower tree-->







    <!--SysPagePower  information-->
    <div class="col-sm-8" style="margin-bottom: 5px; margin-top: 5px;">
        <div class="well well-light well-sm no-margin no-padding treeContent"style="height:500px">
            <input type="hidden" id="hidId" />
            <form class="form-horizontal" id="frmSysPagePower" data-bind="with: NodeValue">

                <fieldset>
                    <div class="row" style="border-bottom: dashed 1px; margin-bottom: 10px;margin-left:1.5%;margin-right:0.5%;">
                        <h3 style="padding: 0px; float: left;margin-top:10px;margin-left:10px"><strong>详细信息</strong></h3>
                        <div class="buttons pull-right"style="margin-right:0.5%">


                            <button type="button" id="btnSysPagePowerUpdate" class="btn btn-success btn-labeled " style="margin-top: 5px;" data-bind="click: $root.updateNode">
                                <span class="btn-label"><i class="fa fa-save"></i>
                                </span>保存</button>

                        </div>
                    </div>

                    <div style="clear: both;" />

                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>菜单名称:</label>
                        <div class='col-md-9'>
                            <input type='text' id='txtbSMenuName' name='txtbSMenuName' placeholder='' class='form-control' data-bind='value:SMenuName' />
                        </div>

                    </div>
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>菜单路径:</label>
                        <div class='col-md-9'>
                            <input type='text' id='txtbSMenuURL' name='txtbSMenuURL' placeholder='' class='form-control' data-bind='value:SMenuURL' />
                        </div>
                    </div>
                    <input type='hidden' id='txtbILevel' name='txtbILevel' placeholder='' class='form-control' data-bind='value:ILevel' />
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>类型:</label><div class='col-md-9'>
                            <input type='text' id='txtbIType' name='txtbIType' placeholder='' class='form-control' data-bind='value:IType' />
                        </div>
                    </div>
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>菜单图标样式:</label><div class='col-md-9'>
                            <input type='text' id='txtbSPicUrl' name='txtbSPicUrl' placeholder='' class='form-control' data-bind='value:SPicUrl' />
                        </div>
                    </div>
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>菜单类型:</label><div class='col-md-9'>
                            <input type='text' id='txtbIMenuType' name='txtbIMenuType' placeholder='' class='form-control' data-bind='value:IMenuType' />
                        </div>
                    </div>
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>排序方式:</label><div class='col-md-9'>
                            <input type='text' id='txtbISort' name='txtbISort' placeholder='' class='form-control' data-bind='value:ISort' />
                        </div>
                    </div>
                    <div class='form-group'>
                        <label class='col-md-2 control-label' style='margin-bottom: 3px;'>是否可删除:</label><div class='col-md-9'>
                            <input type='text' id='txtbIIsDelete' name='txtbIIsDelete' placeholder='' class='form-control' data-bind='value:IIsDelete' />
                        </div>
                    </div>

                </fieldset>

            </form>

        </div>
    </div>

</div>


<!-- end row -->
<!--/SysPagePower information-->

</div>


<script>

    

    pageSetUp();
    var pagefunction = function () {
        
         loadScript("/PageJs/Pages.js", function () {
             
         });
    };
    
    
    pagefunction();
    
</script>